/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cong.javadanang.model.dao;

import cong.javadanang.model.entity.Comment;
import java.util.List;

/**
 *
 * @author Pham
 */
public interface CommentDAO {
    Comment getCommentById(int commentId);

    List<Comment> getAllComments();

    boolean createComment(Comment comment);
    boolean updateComment(Comment comment);
    boolean deleteComment(Comment comment);
    boolean removeComment(Comment comment);
    boolean restoreComment(Comment comment);
}
